package com.prs.crm.dao.personalset.impl;

import java.util.List;

import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.personalset.DefaultProvinceDao;
import com.prs.crm.domain.personalset.DefaultProvince;

public class DefaultProvinceDaoImpl extends BaseDaoImpl<DefaultProvince> implements DefaultProvinceDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<DefaultProvince> getAllDefaultProvince() {
		Criteria criteria=this.getSession().createCriteria(DefaultProvince.class);
		return criteria.list();
	}
}
